package com.suarte.utils;

import java.math.MathContext;

/**
 *
 * @author Smahmud
 */
public class MathUtils {
    private static final MathContext defaultMathContext =  new MathContext(6);
    
    public static float round(float number){
        return (float)Math.floor(number * 100) / 100f;
    }
    
    public static void main(String[] args){
        float n = 123232.3f;
        float n2 = round(n);
        System.out.println(n);
        System.out.println(n2);
    }    
}
